<div class="content-form edit-aluno">
    <?php echo $this->partial('aluno/menu.phtml', array('urlbase'=>$this->urlbase,'urlfoto'=>$this->urlfoto,'modulo'=>$this->modulo,'controller' => $this->controller, 'action' => $this->action, 'data' => $this->data)); ?>
    
    <div id="content-form">
        
        <div class="content-form-top">
        
            <h2><?php echo $this->Menualuno_nom[$this->action];?></h2>
            
        </div>
        
        <form id="form_aluno" action="" method="post">    
            <input type="hidden" id="IEA_ID" name="IEA_ID" value="<?php echo $this->result['IEA_ID']; ?>" />
            <input type="hidden" id="ALU_ID" name="ALU_ID" value="<?php echo $this->data['ALU_ID']; ?>" />
            
            <div class="row">
                <div class="ln"><strong style="display: inline-block;width: 135px;" required>Grau de Escolaridade</strong>
                <?php
                    $grau = dominio::grauEscolaridade();
                    foreach($grau as $key => $g){
                        $checked = $key == $this->result['IEA_GRAECL'] ? 'checked=""':"";
                ?>
                    <label><input type="radio" <?php echo $checked; ?>  name="IEA_GRAECL" value="<?php echo $key; ?>" required=""  /> <?php echo $g; ?> </label>&nbsp;
                <?php } ?>
                </div>
                
                <div class="ln"><strong style="display: inline-block;width: 135px;" required>Instituição de Ensino</strong>
                    <input type="text" name="IEA_NOM" value="<?php echo $this->result['IEA_NOM']; ?>" required=""  />
                </div>
                
                <div class="ln"><strong style="display: inline-block;width: 135px;" required>Ano de Conclusão/Saída</strong>
                    <input type="text" name="IEA_ANO" value="<?php echo $this->result['IEA_ANO']; ?>" class="nummin numero" maxlength="4" required=""  />
                </div>
                
                <div class="ln"><strong style="display: inline-block;width: 135px;" required>Escola</strong>
                <?php
                    $tpoesc = dominio::tipoEscola();
                    foreach($tpoesc as $key => $esc){ 
                        $checked = $key == $this->result['IEA_TIPENS'] ? 'checked=""':"";
                ?>
                    <label><input type="radio" <?php echo $checked; ?> name="IEA_TIPENS" value="<?php echo $key; ?>" required=""  /> <?php echo $esc; ?> </label>&nbsp;
                <?php } ?>
                </div>
                
            </div> 
            
            <div class="row cnt-frm-btn">
                <input type="submit" name="submit" id="submitbutton" value="Salvar" class="btn-frm">

                <a href="<?php echo $this->urlmodulo.'/'.$this->controller.'/'.$this->action.'/id/'.$this->data['ALU_ID']; ?>" class="btn-frm">voltar</a>
            </div>
        </form>
    </div>
</div>

<div id="script"></div>